package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 重大重点项目负责人对象 t_leader
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TLeader extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNo;

    /** 项目来源 */
    @Excel(name = "项目来源")
    private String projectSource;

    /** 获批年度 */
    @Excel(name = "获批年度")
    private String tYear;

    /** 项目开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pStartTime;

    /** 项目结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pEndTime;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private String pType;

    /** 合同经费 */
    @Excel(name = "合同经费")
    private BigDecimal money;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectNo(String projectNo) 
    {
        this.projectNo = projectNo;
    }

    public String getProjectNo() 
    {
        return projectNo;
    }
    public void setProjectSource(String projectSource) 
    {
        this.projectSource = projectSource;
    }

    public String getProjectSource() 
    {
        return projectSource;
    }
    public void settYear(String tYear) 
    {
        this.tYear = tYear;
    }

    public String gettYear() 
    {
        return tYear;
    }
    public void setpStartTime(Date pStartTime) 
    {
        this.pStartTime = pStartTime;
    }

    public Date getpStartTime() 
    {
        return pStartTime;
    }
    public void setpEndTime(Date pEndTime) 
    {
        this.pEndTime = pEndTime;
    }

    public Date getpEndTime() 
    {
        return pEndTime;
    }
    public void setpType(String pType) 
    {
        this.pType = pType;
    }

    public String getpType() 
    {
        return pType;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("age", getAge())
            .append("projectName", getProjectName())
            .append("projectNo", getProjectNo())
            .append("projectSource", getProjectSource())
            .append("tYear", gettYear())
            .append("pStartTime", getpStartTime())
            .append("pEndTime", getpEndTime())
            .append("pType", getpType())
            .append("money", getMoney())
            .toString();
    }
}
